
<!DOCTYPE html>
<html>
<head lang="zh-CN">
    <meta charset="UTF-8">
    <!--支持IE-->
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <!--支持移动设备,禁用缩放-->
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <meta name="keywords" content="">
    <meta name="Description" content="">
    <title>APP通用管理系统</title>
 
</head>
<body>
start
<section>
    <div id="result"></div>
</section>
<footer></footer>
<script src="jquery-2.0.3.min.js"></script>
<script>
    $(function() {
        var timeStamp = "2014-03-15";//new Date().getTime();
     
        var param = {
            "head": {
                "appId": "10010",
                "sign": "7f9abc089fc9c116d14c23ac028a9662",
                "version": "1.0",
                "timestamp": "20141013171958"
            },
            "message": {
                "userName": "18621534745",
                "type": "mobile",
                "password": "dc483e80a7a0bd9ef71d8cf973673924"
            }
        }
        $.ajax({
            url:'http://61.177.10.8:8080/ZCCardServer/users/userLogin.action',
            data:param,
            dataType:'JSON',
            type:'POST',
            success:function(res) {
                $('#result').html(res);
            },
            error: function(res) {
               var s = []
               for(var i in res) {
               s.push(i+''+res[i]);
               }
               $('#result').html(s.join(''));
            }
        });
    });
</script>
</body>
</html>